<template>
  <div>
    <m-echarts ref="testRef" :style="{width: '100%', height: '300px'}" :options="chartOptions"></m-echarts>
  </div>
</template>
<script lang="ts">
  import { defineComponent, getCurrentInstance } from 'vue'
  import chartTest from '@/components/echarts/chartTest'

  export default defineComponent({
    setup() {
      const { proxy }: any = getCurrentInstance()
      const chartOptions = proxy.$deepClone(chartTest)
      return {
        chartOptions
      }
    }
  })
</script>
<style>
</style>
